package ooday02;

public class AnimalTest {
    public static void main(String[] args) {
        Dog dog = new Dog("小白", 6, "白");
        dog.lookHome();
        dog.drink();
        dog.eat();


        Chick chick = new Chick("大黄", 2, "黄");
        chick.layEaas();
        chick.drink();
        chick.eat();
        Fish fish = new Fish("小金", 1, "金");
        fish.drink();
        fish.eat();


    }

}